package com.twetec.cms.model.po.system;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: zhaichangzheng
 * @Date: 2022/2/8 14:23 （日期和时间）
 */
@TableName("cms_menu")
public class CmsMenuPO  implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private Long id;

    @TableLogic
    @TableField(value = "IS_DELETED")
    private Integer isDeleted;

    @TableField("IS_RECOVERY")
    private Integer recovery;

    @TableField(value = "PID")
    private Long pid;

    @TableField(value = "PIDS")
    private String pids;

    @TableField(value = "NAME")
    private String name;

    @TableField(value = "PERMISSION")
    private String permission;

    @TableField(value = "SORT")
    private Integer sort;

    @TableField(value = "REMARK")
    private String remark;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtCreate;

    @TableField(value = "CREATOR_ID")
    private Long creatorId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @TableField(value = "MODIFIER_ID")
    private Long modifierId;

    @TableField(value = "SITE_ID")
    private Long siteId;

    @TableField(value = "COLUMN_ID")
    private Long columnId;

    @TableField(value = "TYPE")
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getPids() {
        return pids;
    }

    public void setPids(String pids) {
        this.pids = pids;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getRecovery() {
        return recovery;
    }

    public void setRecovery(Integer recovery) {
        this.recovery = recovery;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public Long getColumnId() {
        return columnId;
    }

    public void setColumnId(Long columnId) {
        this.columnId = columnId;
    }

    @Override
    public String toString() {
        return "CmsMenuPO{" +
                "id=" + id +
                ", isDeleted=" + isDeleted +
                ", pid=" + pid +
                ", pids='" + pids + '\'' +
                ", name='" + name + '\'' +
                ", permission='" + permission + '\'' +
                ", sort=" + sort +
                ", recovery=" + recovery +
                ", remark='" + remark + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", creatorId=" + creatorId +
                ", gmtModified=" + gmtModified +
                ", modifierId=" + modifierId +
                ", siteId=" + siteId +
                ", columnId=" + columnId +
                '}';
    }
}
